package com.alex.statistics.pojo.request.clusterAnalysis;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "密度聚类请求参数")
public class DensityClusteringRequest {
    @Schema(description = "待聚类的数据集合，每个元素是一个特征向量", required = true,
            example = "[[1.2, 2.5], [3.7, 4.1], [5.9, 6.3], [7.2, 8.4]]")
    private List<double[]> data;

    @Schema(description = "邻域半径", required = true, example = "0.5")
    private double eps;

    @Schema(description = "形成核心点所需的最小点数", required = true, example = "5")
    private int minPoints;
}    